package com.ethink.order.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

import com.ethink.framework.common.db.SuperEntity;

/**
 * TOC销售单导入日志明细 数据库实体
 *
 * @author default
 * @date 2022-11-22
 */
@Data
@TableName("t_toc_sale_import_log_detail")
public class TocSaleImportLogDetail extends SuperEntity {

    public static final String LOG_ID ="log_id";

    public static final String SHOP_ORDER_NO ="shop_order_no";

    public static final String ORDER_NO ="order_no";

    public static final String DETAIL_ORDER_NO ="detail_order_no";

    public static final String MATE_SKU ="mate_sku";

    public static final String INVENTORY_TYPE ="inventory_type";

    public static final String OUT_QTY ="out_qty";

    public static final String SALE_PRICE ="sale_price";

    public static final String SALE_PRICE_WB ="sale_price_wb";

    public static final String SUB_WAREHOUSE_CODE ="sub_warehouse_code";

    public static final String SUB_WAREHOUSE_NAME ="sub_warehouse_name";

    public static final String MATE_CODE ="mate_code";

    public static final String MATE_NAME ="mate_name";

    public static final String MATE_SKU_NAME ="mate_sku_name";

    public static final String GENERA_CODE ="genera_code";

    public static final String GENERA_CODE_NAME ="genera_code_name";

    public static final String MINOR_DEFECTS_CODE ="minor_defects_code";

    public static final String MINOR_DEFECTS_CODE_NAME ="minor_defects_code_name";

    public static final String SUBCLASS_CODE ="subclass_code";

    public static final String SUBCLASS_CODE_NAME ="subclass_code_name";

    public static final String CATEGORY_NAME ="category_name";

    public static final String BRAND_CODE ="brand_code";

    public static final String BRAND_NAME ="brand_name";

    public static final String INTERNATION_CODE ="internation_code";

    public static final String UNIT_CODE ="unit_code";

    public static final String UNIT_NAME ="unit_name";

    public static final String PRODUCT_SPECIFICATION ="product_specification";

    public static final String COUNTRY_OF_ORIGIN ="country_of_origin";

    public static final String ORDER_TIME ="order_time";


    /** 导入记录ID */
    private Long logId;

    /** 网店订单号 */
    private String shopOrderNo;

    /** TOC销售单号 */
    private String orderNo;

    /** TOC销售单详号 */
    private String detailOrderNo;

    /** 商品SKU */
    private String mateSku;

    /** 枚举 库存类型:1-正品(zp)|2-瑕疵(cc) */
    private Integer inventoryType;

    /** 出库数量 */
    private Integer outQty;

    /** 销售单价 */
    private BigDecimal salePrice;

    /** 销售单价外币 */
    private BigDecimal salePriceWb;

    /** 仓库code */
    private String subWarehouseCode;

    /** 仓库名称 */
    private String subWarehouseName;

    /** 商品编号 */
    private String mateCode;

    /** 商品名称 */
    private String mateName;

    /** 商品SKU名称 */
    private String mateSkuName;

    /** 大类编号 */
    private String generaCode;

    /** 大类编号名称 */
    private String generaCodeName;

    /** 中类编号 */
    private String minorDefectsCode;

    /** 中类编号名称 */
    private String minorDefectsCodeName;

    /** 小类编号 */
    private String subclassCode;

    /** 小类编号名称 */
    private String subclassCodeName;

    /** 商品分类 */
    private String categoryName;

    /** 品牌编码 */
    private String brandCode;

    /** 品牌名称 */
    private String brandName;

    /** 商品条码 */
    private String internationCode;

    /** 包装单位编码 */
    private String unitCode;

    /** 包装单位名称 */
    private String unitName;

    /** 商品规格 */
    private String productSpecification;

    /** 原产国 */
    private String countryOfOrigin;

    /** 下单时间 */
    private Date orderTime;

}
